﻿@{
    ViewData["Title"] = "DepartmentAdd";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<link href="~/layui/css/layui.css" rel="stylesheet" />
<h1 style="text-align:center">部门信息修改页面</h1>

<form class="layui-form " action="" lay-filter="demo-val-filter" style="margin-top: 30px;">
    <div class="layui-form-item layui-col-md8">
        <label class="layui-form-label" style="font-size: 12px;">部门编号：</label>
        <div class="layui-input-block">
            <input type="text" name="departCode" id="departCode" lay-verify="number" autocomplete="off" style="width:400px" placeholder="请输入部门编号" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item layui-col-md8">
        <label class="layui-form-label" style="font-size: 12px;">部门名称：</label>
        <div class="layui-input-block">
            <input type="text" name="departName" id="departName" lay-verify="required" autocomplete="off" style="width:400px" placeholder="请输入部门名称" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item layui-col-md8">
        <label class="layui-form-label" style="font-size: 12px;">部门停用</label>
        <div class="layui-input-block">
            <input type="radio" id="parentId" name="parentId" value="0" title="使用" checked>
            <input type="radio" id="parentId" name="parentId" value="1" title="禁用">
        </div>
    </div>
    <div class="layui-form-item layui-col-md8">
        <label class="layui-form-label" style="font-size: 12px;">部门类型</label>
        <div class="layui-input-block" style="width:400px">
            <select id="departtype" name="departtype" lay-filter="aihao">
                <option value="0">请选择所属类别</option>
                <option value="1">业务逻辑</option>
                <option value="2">生产加工</option>
                <option value="3">业务销售</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item layui-col-md8">
        <label class="layui-form-label" style="font-size: 12px;">部门全称：</label>
        <div class="layui-input-block">
            <input type="text" name="departArea" id="departArea" lay-verify="required" style="width:400px" autocomplete="off" placeholder="请输入部门全称" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button type="submit" class="layui-btn" lay-submit lay-filter="demo1">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
<script src="~/lib/jquery/dist/jquery.min.js"></script>
<script src="~/js/organization/deparmentupd.js"></script>
